package com.yocard.yxyd.di.component;

import android.app.Activity;


import com.yocard.yxyd.di.module.FragmentModule;
import com.yocard.yxyd.di.scope.FragmentScope;
import com.yocard.yxyd.ui.fragment.AllTransactionFragment;
import com.yocard.yxyd.ui.fragment.CsmDetailFragment;
import com.yocard.yxyd.ui.fragment.CsmReundListFragment;
import com.yocard.yxyd.ui.fragment.CustomerFragment;
import com.yocard.yxyd.ui.fragment.InviteRecordListFragment;
import com.yocard.yxyd.ui.fragment.MeFragment;
import com.yocard.yxyd.ui.fragment.OrderFragment;
import com.yocard.yxyd.ui.fragment.OrderListFragment;

import dagger.Component;

@FragmentScope
@Component(dependencies = AppComponent.class, modules = FragmentModule.class)
public interface FragmentComponent {

    Activity getActivity();

    void inject(OrderListFragment fragment);
    void inject(CustomerFragment fragment);
    void inject(MeFragment fragment);
    void inject(CsmDetailFragment fragment);
    void inject(CsmReundListFragment fragment);
    void inject(AllTransactionFragment fragment);
    void inject(OrderFragment fragment);
    void inject(InviteRecordListFragment fragment);
}
